package Chapter04;

public class Demo09_for {
	
	public static void main(String[] args) {
		int sum=0;
		for(int i=1;i<=50;i++) {
			if(i%7==0) {
				sum=i+sum;
			}
			
		}
		System.out.println(sum);
	}

}
